
import { App } from "vue";


//  如果叫index.ts 可以忽略写
import chooseArea from "./chooseArea";
import chooseIcon from "./chooseIcon";
import trend from "./trend";
import notification from "./notification";
import list from "./list"
import menu from "./menu";
import chooseTime from "./chooseTime";
import chooseDate from "./chooseDate";
import progress from "./progress";
import chooseCity from "./chooseCity";
import form from "./form"
import modalForm from "./modalForm";
import table from "components/table";


const  components=[
    chooseArea,
    chooseIcon,
    trend,
    notification,
    list,
    menu,
    chooseTime,
    chooseDate,
    progress,
    chooseCity,
    form,
    modalForm,
    table
]


export default{
    install(app: App){
        components.forEach(item=>{
            app.use(item)
        })
    }
}